projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c10657
)
stack: Update HIDDEN a11y state for stack pages
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 25 Oct 2020 02:04:26 +0000
(22:04 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 25 Oct 2020 02:04:26 +0000
(22:04 -0400)
This will let us handle additions and removals
in the AT-SPI backend.
gtk/gtkstack.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstack.c
b/gtk/gtkstack.c
index b06bc3629d5cfb523ac1da8a03a6445a3e8ae2b6..fdf79fbe61165d87f3cde87decc6b2353dffc0a1 100644
(file)
--- a/
gtk/gtkstack.c
+++ b/
gtk/gtkstack.c
@@
-1304,6
+1304,10
@@
update_child_visible (GtkStack *stack,
gtk_widget_set_child_visible (priv->last_visible_child->widget, FALSE);
priv->last_visible_child = NULL;
}
+
+ gtk_accessible_update_state (GTK_ACCESSIBLE (child_info),
+ GTK_ACCESSIBLE_STATE_HIDDEN, !visible,
+ -1);
}
static void